fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

new

http.response_message.type.new

create an http response using a default values

request_message => nil
major => 1
minor => 1
reason_phrase via status code from reason phrases map
Precondition
pre
  debug: http.reason_phrases[status_code]??

Arguments

status_code i64[src]
the status code of the response
header Sequence (tuple String String)[src]
the header fields
body Unary (choice (Sequence u8) io.end_of_file error) i64[src]
the body of the response
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23